@import "tailwindcss";
@plugin "daisyui";

.input-group {
  position: relative;
  margin-bottom: 1rem;
}

.input {
  border: solid 1.5px #9e9e9e;
  border-radius: 1rem;
  background: none;
  padding: 1rem;
  font-size: 1rem;
  color: #f5f5f5;
  transition: border 150ms cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
}

.user-label {
  position: absolute;
  left: 15px;
  color: #e8e8e8;
  pointer-events: none;
  transform: translateY(1rem);
  transition: 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

.input:focus,
.input:valid {
  outline: none;
  border: 1.5px solid #1a73e8;
}

.input:focus~.user-label,
.input:valid~.user-label {
  transform: translateY(-50%) scale(0.8);
  background-color: #212121;
  padding: 0 .2em;
  color: #2196f3;
}

.search-bar-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 700px;
  margin: 0 auto 32px auto;
}

.new-task-btn {
  margin-left: 24px;
  min-width: 120px;
  font-weight: 500;
  color: #fff;
  transition: background 0.2s;
}

.new-task-btn:hover,
.new-task-btn:focus {
  color: #fff;
}

.task-log-drawer-content {
  max-height: 600px;
  overflow-y: auto;
  font-family: monospace;
  font-size: 13px;
}

.task-log-drawer-item {
  margin-bottom: 8px;
}

.task-log-drawer-empty {
  color: #888;
}